using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sio.Mdm.Entities;

namespace Sio.Mdm.Types.Database
{
    [Entities.Entity(
                "StoritveService",
                TableName = "STORITVE"
            )]
    public interface Storitev : IEntity
    {
        [PrimaryKey(Name = "STORITEV_ID", GeneratorName="GEN_STORITVE")]
        int StoritevId { get; set; }

        [Field(Name = "ORGANIZACIJA_ID", ForeignKey = true)]
        int OrganizacijaId { get; set; }

        [Field(Name = "NAZIV")]
        string Naziv { get; set; }

        [Field(Name = "TIP_STORITVE_ID")]
        int TipStoritveId { get; set; }

        [Field(Name = "STORITEV_KLJUC")]
        int StoritevKljuc { get; set; }

        [Field(Name = "CONFIG")]
        byte[] Config { get; set; }        
    }
}
